/**
 * @description 设置列表相关的 reducer
 * @author xfj
 */

export default function reducer(state=[], action) {
  switch (action.type) {
    case 'setData':
      return action.payload;
    default:
      return state;
  }
}
